Skip to content

CI: Use TLAUC --skip numsets instead of unicode_number_set_shim.py#181

Merged
ahelwer merged 1 commit into
tlaplus:masterfrom
ahelwer:tlauc-skip-numsets
Aug 1, 2025
Merged

CI: Use TLAUC --skip numsets instead of unicode_number_set_shim.py#181
ahelwer merged 1 commit into
tlaplus:masterfrom
ahelwer:tlauc-skip-numsets

Conversation

@ahelwer
Copy link
Copy Markdown
Collaborator

@ahelwer ahelwer commented Aug 1, 2025

Use feature introduced in tlaplus-community/tlauc#23

Before these changes, the unicode_number_set_shim.py script was needed to rewrite all specs so they would import a shim version of the Naturals, Integers, and Reals standard modules that defined the ℕ, ℤ, and ℝ number sets. This was a very involved and brittle process, although it did showcase the power of the tree-sitter grammar queries. Now we can simply skip translating those number sets until tlaplus/tlaplus#1020 is fixed. Thus there is no need for the shim script.

Use feature introduced in tlaplus-community/tlauc#23

Before these changes, the unicode_number_set_shim.py script was needed to rewrite all specs so they would import a shim version of the Naturals, Integers, and Reals standard modules that defined the ℕ, ℤ, and ℝ number sets. This was a very involved and brittle process, although it did showcase the power of the tree-sitter grammar queries. Now we can simply skip translating those number sets until tlaplus/tlaplus#1020 is fixed. Thus there is no need for the shim script.

Signed-off-by: Andrew Helwer <ahelwer@pm.me>
@ahelwer ahelwer force-pushed the tlauc-skip-numsets branch from e3167f5 to e101193 Compare August 1, 2025 21:07
@ahelwer ahelwer merged commit 0b69aea into tlaplus:master Aug 1, 2025
7 checks passed
@ahelwer ahelwer deleted the tlauc-skip-numsets branch August 1, 2025 21:37
ahelwer added a commit to ahelwer/tlaplus that referenced this pull request Aug 6, 2025
Script was removed in tlaplus/Examples#181

Signed-off-by: Andrew Helwer <ahelwer@pm.me>
lemmy pushed a commit to tlaplus/tlaplus that referenced this pull request Aug 11, 2025
Script was removed in tlaplus/Examples#181

Signed-off-by: Andrew Helwer <ahelwer@pm.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant